package com.example.demo.controller

import com.example.demo.common.BaseResponse
import com.example.demo.common.ResultUtils
import com.fasterxml.jackson.databind.ser.Serializers.Base
import org.springframework.web.bind.annotation.GetMapping
import org.springframework.web.bind.annotation.RequestMapping
import org.springframework.web.bind.annotation.RestController

@RestController
@RequestMapping("/test")
class TestController {

    @GetMapping("/health")
    fun health() : BaseResponse<Any>{
        return ResultUtils.success("ok")
    }
}